package Util;

public class Staff {
    private Long id;
    private String name;
    private String username;
    private String password;
    private String phone;
    private String sex;
    private String idNumber;
    private Integer stat;
    private String creatDateTime;
    private String updateDateTime;
    private Long creatUser;
    private Long updateUser;


    public Staff() {
    }

    public Staff(Long id, String name, String username, String password, String phone, String sex, String idNumber, Integer stat, String creatDateTime, String updateDateTime, Long creatUser, Long updateUser) {
        this.id = id;
        this.name = name;
        this.username = username;
        this.password = password;
        this.phone = phone;
        this.sex = sex;
        this.idNumber = idNumber;
        this.stat = stat;
        this.creatDateTime = creatDateTime;
        this.updateDateTime = updateDateTime;
        this.creatUser = creatUser;
        this.updateUser = updateUser;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public Integer getStat() {
        return stat;
    }

    public void setStat(Integer stat) {
        this.stat = stat;
    }

    public String getCreatDateTime() {
        return creatDateTime;
    }

    public void setCreatDateTime(String creatDateTime) {
        this.creatDateTime = creatDateTime;
    }

    public String getUpdateDateTime() {
        return updateDateTime;
    }

    public void setUpdateDateTime(String updateDateTime) {
        this.updateDateTime = updateDateTime;
    }

    public Long getCreatUser() {
        return creatUser;
    }

    public void setCreatUser(Long creatUser) {
        this.creatUser = creatUser;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    @Override
    public String toString() {
        return "Staff{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", phone='" + phone + '\'' +
                ", sex='" + sex + '\'' +
                ", idNumber='" + idNumber + '\'' +
                ", stat=" + stat +
                ", creatDateTime='" + creatDateTime + '\'' +
                ", updateDateTime='" + updateDateTime + '\'' +
                ", creatUser=" + creatUser +
                ", updateUser=" + updateUser +
                '}';
    }
}
